﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Xyz.Service.DataTransferObjects
{
    [DataContract]
    public class BookingDTO
    {
        [DataMember]
        public int BookingId { get; set; }

        [DataMember]
        public string BookingCode { get; set; }

        [DataMember]
        public int? CustomerId { get; set; }

        [DataMember]
        public string TripCode { get; set; }

        [DataMember]
        public int? AdultNo { get; set; }

        [DataMember]
        public int? ChildNo { get; set; }

        [DataMember]
        public string Status { get; set; }

        [DataMember]
        public decimal TotalTicketFare { get; set; }

        [DataMember]
        public DateTime PaymentDue { get; set; }

        [DataMember]
        public string ContactName { get; set; }

        [DataMember]
        public string ContactNo { get; set; }

        [DataMember]
        public string ContactEmailAddress { get; set; }

        [DataMember]
        public DateTime BookingDate { get; set; }

        [DataMember]
        public List<TicketDTO> Tickets { get; set; }

        [DataMember]
        public List<CardPaymentDTO> CardPayments { get; set; }

        [DataMember]
        public List<MemberPaymentDTO> MemberPayments { get; set; }
    }
}
